﻿using DL.PhotoCollage.UI.StandAlone.Views;
using DL.PhotoCollage.Wpf.Presentation;

namespace DL.PhotoCollage.UI.StandAlone.Presentation
{
    public class CollagePresenter : CollagePresenterBase
    {
        private readonly CollageView view;

        public CollagePresenter(StandAloneController applicationController)
            : base(applicationController)
        {
            this.view = new CollageView(this);
            this.ViewWindow = this.view;
            this.ViewCanvas = this.view.MainCanvas;

            this.view.Show();
        }

        public void Close()
        {
            this.view.Close();
        }
    }
}
